html,
body {
  padding: 0;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  background-color: #f4f5f5;
  font-size: 10px;
}
a:hover{
  color: #1d2129;
}
.ant-menu-horizontal{
  border-bottom: none;
  height: 5rem;
  background-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}

p{
  margin: 0;
}
* {
  box-sizing: border-box;
}
.flex{
  display: flex;
  align-items: center;
}
.j_end{
  justify-content: end;
}
.f_around{
  justify-content: space-around;
}
.header{
  box-shadow: 0 2px 8px #ebedf0;
}
.header{
  width: 100%;
  background-color: #fff;
  padding: 0 5rem;
  height: 5rem;
}
.popover{
  width: 23.5rem;
  height: 12rem;
}
.popover-title,
.popover-footer{
  display: flex;
}
.popover-footer{
  margin-top: 1.5rem;
  justify-content: space-around;
  align-items: center;
}
.popover-title .popover-avatar{
  border: 1px solid #fff;
  box-shadow: 0 2px 6px 0 rgb(0 0 0 / 15%);
  border-radius: 50%;
}
.popover-title .name_job{
  margin-left: 2rem;
}
.popover-title .name_job .name{
  width: 12.8rem;
  font-size: 1.5rem;
}
.popover-title .name_job .job{
  color: #8f969c;
  font-size: 1.3rem;
  width: 14.6rem;
  margin-top: 1.5rem;
}
.popover p{
  margin-bottom: 0;
}
.popover-footer p{
  color: #8f969c;
}
.popover-footer .number{
  color: #333;
  font-size: 18px;
  font-weight: 600;
}
@media screen and (max-width: 768px) {
  .header{
    padding: 0 1rem;
    .choose-theme{
      display: none;
    }
  }
  .hidden{
    display: none;
  }
}
.overflow_hidden{
  overflow: hidden;
  white-space: nowrap;
  text-overflow:ellipsis
}
.ant-tabs-nav{
  padding: 0 2rem;
}
.ant-tabs-content-holder{
  padding-bottom: 2rem;
}
.markdown-navigation .title-anchor.active{
  color: #1e80ff !important;
  background: rgba(244, 245, 245,.6) !important;
}

.white{
  color: #fff;
}
.black{
  color: #000;
}
// 文章详情底部

.articles-footer{
  margin-top: 2rem;
  .footer-categories{
    .categories{
      margin-left: 1rem;
    }
  }
}
.ant-tag{
  cursor: pointer;
}
.tag-popover{
  width: 30rem;
  .ant-tag{
    margin-bottom: 1rem;
  }
}
.ml_10{
  margin-left: 1rem;
}
// 解析markdown
.bytemd-split{
  height: calc(100vh - 64px) !important;
}
.markdown-body td, .markdown-body th{
  padding:12px 7px;
  line-height: 24px;
  border-right: 1px solid #f6f6f6;
  border-top: 1px solid #f6f6f6;
  min-width: 120px;
  text-align: center;
}
.markdown-body th {
  border-color: #fff;
}
.markdown-body thead{
  background-color: #f6f6f6;
}
.markdown-body table{
  display: inline-block!important;
  font-size: 1.3rem;
  width: auto;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid #f6f6f6;
}
ol, ul, dl{
list-style: none;
}
ul{
  padding-left: 0;
}
.ant-input-textarea{
  .ant-input{
    resize: none;
    height: 100%;
  }
}
blockquote{
  background-color: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 1em 10px 1em 10px;
}
.bytemd-preview{
  pre{
    display: block;
    background-color:#f3f3f3;
    padding: .5rem !important;
    overflow-y: auto;
    font-weight: 300;
    font-family: Menlo, monospace;
    border-radius: .3rem;
  }
  pre{
    background-color: #283646 !important;
    }
  pre >code{
    border:0px !important;
    background-color: #283646 !important;
    color:#FFF;
  }
  code {
    display: inline-block ;
    background-color:#e8f3ff;
    border-radius:3px;
    font-size: 13px;
    padding-left: 5px;
    padding-right: 5px;
    color:#4f4f4f;
    margin: 2px 3px;
  }
  a{
    color: #1e80ff;
  }
}

// 滚动条样式
.scrollbar::-webkit-scrollbar{
   width:5px;
   height:5px;
   /**/
 }
 .scrollbar::-webkit-scrollbar-track{
   background: #fff;
   border-radius:2px;
 }
 .scrollbar::-webkit-scrollbar-thumb{
   background: #8f969c;
   border-radius:10px;
 }
 .scrollbar::-webkit-scrollbar-thumb:hover{
   background: #999;
 }
 .scrollbar::-webkit-scrollbar-corner{
   background: #204754;
 }
 // 单行文字超出隐藏$color-text
.text-hid-one{
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* autoprefixer: ignore next */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}